package com.louis.kitty.admin.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysUser extends BaseModel {

    private String name;

    private String photo;

    private String password;

    private String salt;

    private String email;

    private String mobile;

    private String address;

    private String identityCode;

    private String rem;

    private Byte status;

    private Long deptId;

    private Long excluded;

    private Long departmentId;

    private Long processingId;

    private Long sublevelView;

    private Long sex;

    private float output;

    private float salaryBalance;

    private Long performanceWay;

    private Long machineCode;

    private Long createId;

    private Long modifierId;

    private Long companyId;

    private Long sysDeptId;

    private Long companyWorkTimeId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date entryDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date departureDate;

    private Long employeeType;

    private Long salaryType;

    private String deptName;

    private Byte delFlag;

    private String roleNames;

    private String nameDetail;

    private String weChatNo;
    private String medicalSecurity;
    private String accumulationFund;
    private String socialSecurityCardNumber;

    public Long getCompanyWorkTimeId() {
        return companyWorkTimeId;
    }

    public void setCompanyWorkTimeId(long companyWorkTimeId) {
        this.companyWorkTimeId = companyWorkTimeId;
    }

    public void setCompanyWorkTimeId(Long companyWorkTimeId) {
        this.companyWorkTimeId = companyWorkTimeId;
    }

    public SysUser() {
    }

    public Long getSysDeptId() {
        return sysDeptId;
    }

    public void setSysDeptId(Long sysDeptId) {
        this.sysDeptId = sysDeptId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getAccumulationFund() {
        return accumulationFund;
    }

    public void setAccumulationFund(String accumulationFund) {
        this.accumulationFund = accumulationFund;
    }

    public String getSocialSecurityCardNumber() {
        return socialSecurityCardNumber;
    }

    public void setSocialSecurityCardNumber(String socialSecurityCardNumber) {
        this.socialSecurityCardNumber = socialSecurityCardNumber;
    }

    private List<SysUserRole> userRoles = new ArrayList<>();

    public List<SysUserRole> getUserRoles() {
        return userRoles;
    }

    public void setUserRoles(List<SysUserRole> userRoles) {
        this.userRoles = userRoles;
    }

    public String getMedicalSecurity() {
        return medicalSecurity;
    }

    public void setMedicalSecurity(String medicalSecurity) {
        this.medicalSecurity = medicalSecurity;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIdentityCode() {
        return identityCode;
    }

    public void setIdentityCode(String identityCode) {
        this.identityCode = identityCode;
    }

    public String getRem() {
        return rem;
    }

    public void setRem(String rem) {
        this.rem = rem;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getExcluded() {
        return excluded;
    }

    public void setExcluded(Long excluded) {
        this.excluded = excluded;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public Long getProcessingId() {
        return processingId;
    }

    public void setProcessingId(Long processingId) {
        this.processingId = processingId;
    }

    public Long getSublevelView() {
        return sublevelView;
    }

    public void setSublevelView(Long sublevelView) {
        this.sublevelView = sublevelView;
    }

    public Long getSex() {
        return sex;
    }

    public void setSex(Long sex) {
        this.sex = sex;
    }

    public float getOutput() {
        return output;
    }

    public void setOutput(float output) {
        this.output = output;
    }

    public float getSalaryBalance() {
        return salaryBalance;
    }

    public void setSalaryBalance(float salary_Balance) {
        this.salaryBalance = salaryBalance;
    }

    public Long getPerformanceWay() {
        return performanceWay;
    }

    public void setPerformanceWay(Long performanceWay) {
        this.performanceWay = performanceWay;
    }

    public Long getMachineCode() {
        return machineCode;
    }

    public void setMachineCode(Long machineCode) {
        this.machineCode = machineCode;
    }

    public Date getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(Date entryDate) {
        this.entryDate = entryDate;
    }

    public Date getDepartureDate() {
        return departureDate;
    }

    public void setDepartureDate(Date departureDate) {
        this.departureDate = departureDate;
    }

    public Long getEmployeeType() {
        return employeeType;
    }

    public void setEmployeeType(Long employeeType) {
        this.employeeType = employeeType;
    }

    public Long getSalaryType() {
        return salaryType;
    }

    public void setSalaryType(Long salaryType) {
        this.salaryType = salaryType;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public String getNameDetail() {
        return nameDetail;
    }

    public void setNameDetail(String nameDetail) {
        this.nameDetail = nameDetail;
    }

    public String getWeChatNo() {
        return weChatNo;
    }

    public void setWeChatNo(String weChatNo) {
        this.weChatNo = weChatNo;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
    }
}